package ca.llsutherland.nfl.persistence;

import java.sql.Connection;
import java.sql.SQLException;

public interface DatabaseConnectionInterface {
	void isCurrentConnectionReadOnly(boolean b) throws SQLException;

    void returnCurrentConnection();
    
    public void rollback() throws SQLException;
    
    public void commitTransaction() throws SQLException;
    
    public Connection getCurrentConnection();
    
    public void setCurrentConnection(Connection currentConnection);
    
    public void isCurrentConnectionAutoCommit(boolean isCurrentConnectionAutoCommit) throws SQLException;
}
